package messagesPacks;

import messagesPacks.GenericMessage.msgType;
import Entity.Book;
import Entity.BookCopy;

/**
 * This class representing a LibrarianEditCopyMessage
 * Date: 31/12/2012
 * @author Tali Pisarev
 *
 */
public class LibrarianEditCopyMessage extends GenericMessage 
{

	private static final long serialVersionUID = 1L;
	
	/**BookCopy is entity that includes all the details of copy*/
	private BookCopy bookCopy;
	 /**save the Query result*/
	private int queryEditCopyResult=-10;
	
/**
* Constructor the LibrarianEditBookMessage with default values
*/	
	public LibrarianEditCopyMessage()
	{
		this.type = msgType.LibrarianEditCopyMSG;
		this.bookCopy = new BookCopy();

	}
	

//===================================================================	
//                  Getters & Setters
//===================================================================	
	
 public BookCopy getCopy()
	{
		return bookCopy;
	}

	public void setCopy(BookCopy bookCopy)
	{
		this.bookCopy = bookCopy;
	}

	public int getQueryLibEditCopyResult()
	{
		return queryEditCopyResult;
	}


	public void setQueryLibEditCopyResult (int queryEditCopyResult)
	{
		this.queryEditCopyResult = queryEditCopyResult;
	}



}//class
